package org.dfzt.modules.system.mapper;

import org.apache.ibatis.annotations.Select;
import org.dfzt.modules.system.entity.SysUserConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * @Description: 用户登录参数设置表
 * @Author: jeecg-boot
 * @Date:   2020-06-29
 * @Version: V1.0
 */
public interface SysUserConfigMapper extends BaseMapper<SysUserConfig> {

    @Select("SELECT TABLE_NAME tableName,COLUMN_NAME columnName,COLUMN_TYPE columnType,COLUMN_COMMENT columnComment FROM INFORMATION_SCHEMA.COLUMNS where TABLE_SCHEMA='base-boot' and TABLE_NAME like 'sys_%' OR TABLE_NAME = 'oss_file';")
    List<Map<String,String>>  getColumn();
}
